package test.misoneism.fire.database.dao
{
	import com.anywebcam.mock.Mock;
	import com.misoneism.fire.database.dao.IGeocodeDAO;
	import com.misoneism.fire.database.tuples.Geocode;

	public class MockGeocodeDAO implements IGeocodeDAO
	{
		public var mock:Mock;
		
		public function MockGeocodeDAO()
		{
			mock = new Mock(this);
		}

		public function getGeocode(address:String):Geocode
		{
			return mock.getGeocode(address);
		}
		
		public function insertGeocode(address:String, latitude:Number, longitude:Number):int
		{
			return mock.insertGeocode(address, latitude, longitude);
		}
	}
}